package com.wxw.gulidemo.client;

import com.wxw.gulidemo.R;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.stereotype.Component;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

/**
 * @author by xxz
 * @date 2022/6/21
 */
@Component
@FeignClient(value = "service-ucenter",fallback = UcenterClientImpl.class)
public interface UcenterClient {

    //根据日期，获取那天注册人数
    @GetMapping("/serviceUcenter/ucenter-member/countRegister/{day}")
    R countRegister(@PathVariable("day") String day);
    
}
